package com.hongdee.crm.taskConfig.entity;

import com.hongdee.base.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Created by My on 2017/3/6.
 */
@Entity
@Table(name = "T_CRM_TASK_TYPE_REF")
public class TCrmTaskTypeRef extends BaseEntity{
    /**
     * 角色ID
     */
    @Column(name = "role_id",length = 32,columnDefinition = " VARCHAR(32) COMMENT '角色ID' ")
    private String roleId;
    /**
     * 公司ID
     */
    @Column(name = "company_id",length = 32,columnDefinition = " VARCHAR(32) COMMENT '公司ID' ")
    private String companyId;
    /**
     * 任务code
     */
    @Column(name = "task_code",length = 32,columnDefinition = " VARCHAR(32) COMMENT '任务code' ")
    private String taskCode;
    /**
     * 状态 1启用 0停用
     */
    @Column(name = "status",length = 1,columnDefinition = " VARCHAR(1) COMMENT '状态' ")
    private String status;
    /**
     * 处理类型0：查看 1：处理
     */
    @Column(name = "type",length = 1,columnDefinition = "VARCHAR(1) COMMENT '处理类型0：查看 1：处理'")
    private  String type;

    /**
     *
     * @return type
     */
    public String getType() {
        return type;
    }

    /**
     *
     * @param type String
     */
    public void setType(String type) {
        this.type = type;
    }

    /**
     *
     * @return roleId
     */
    public String getRoleId() {
        return roleId;
    }

    /**
     *
     * @param roleId String
     */
    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }

    /**
     *
     * @return companyId
     */
    public String getCompanyId() {
        return companyId;
    }

    /**
     *
     * @param companyId String
     */
    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    /**
     *
     * @return taskCode
     */
    public String getTaskCode() {
        return taskCode;
    }

    /**
     *
     * @param taskCode String
     */
    public void setTaskCode(String taskCode) {
        this.taskCode = taskCode;
    }

    /**
     *
     * @return status
     */
    public String getStatus() {
        return status;
    }

    /**
     *
     * @param status String
     */
    public void setStatus(String status) {
        this.status = status;
    }
}
